package com.yssoft.entity.core;

import com.yssoft.entity.CommonEntity;

import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 物料表实体类
 * t_material
 * @author 
 */
@Table(name = "t_material")
public class TMaterial extends CommonEntity {
    @Id
    private Integer id;

    /**
     * 企业_主键
     */
    private Integer tEId;
    /**
     * 原料类别
     */
    private Integer tDId;
    
    /**
     * 名称
     */
    private String name;
    /**
     * 物料编号
     */
    private String code;
    /**
     * 规格
     */
    private String specifications;

    /**
     * 有效期天数
     */
    private String expiryDate;


    /**
     * 生产厂家
     */
    private String manufacturer;

    /**
     * 生产许可编号
     */
    private String pLicense;

    /**
     * 执行标准
     */
    private String perfStandard;

    /**
     * 单件重量
     */
    private String singleWeight;
    /** 单件容量*/
    private String singleCapacity;
    /**
     * 单件体积
     */
    private String singleVolume;
    /**
     * 参考价格
     */
    private BigDecimal price;
    /**
     * 原图
     */
    private String mImg;
    /**
     * 缩略图
     */
    private String mTimg;
    /**
     * 是否生成码
     */
    private String createCode="2";
    /**
     * 物料类别
     */
    private Integer tMcId;
    /**
     * 单位
     */
    private String unit;
    
    

    private static final long serialVersionUID = 1L;
    
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer gettEId() {
        return tEId;
    }
    
    public void settEId(Integer tEId) {
        this.tEId = tEId;
    }
    
    public Integer gettDId() {
        return tDId;
    }
    
    public void settDId(Integer tDId) {
        this.tDId = tDId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    public String getSpecifications() {
        return specifications;
    }
    
    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }
    
    public String getExpiryDate() {
        return expiryDate;
    }
    
    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }
    
    public String getManufacturer() {
        return manufacturer;
    }
    
    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }
    
    public String getpLicense() {
        return pLicense;
    }
    
    public void setpLicense(String pLicense) {
        this.pLicense = pLicense;
    }
    
    public String getPerfStandard() {
        return perfStandard;
    }
    
    public void setPerfStandard(String perfStandard) {
        this.perfStandard = perfStandard;
    }
    
    public String getSingleWeight() {
        return singleWeight;
    }
    
    public void setSingleWeight(String singleWeight) {
        this.singleWeight = singleWeight;
    }
    
    public String getSingleCapacity() {
        return singleCapacity;
    }
    
    public void setSingleCapacity(String singleCapacity) {
        this.singleCapacity = singleCapacity;
    }
    
    public String getSingleVolume() {
        return singleVolume;
    }
    
    public void setSingleVolume(String singleVolume) {
        this.singleVolume = singleVolume;
    }
    
    public BigDecimal getPrice() {
        return price;
    }
    
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    
    public String getmImg() {
        return mImg;
    }
    
    public void setmImg(String mImg) {
        this.mImg = mImg;
    }
    
    public String getmTimg() {
        return mTimg;
    }
    
    public void setmTimg(String mTimg) {
        this.mTimg = mTimg;
    }
    
    
    public String getCreateCode() {
        return createCode;
    }
    
    public void setCreateCode(String createCode) {
        this.createCode = createCode;
    }
    
    public Integer gettMcId() {
        return tMcId;
    }
    
    public void settMcId(Integer tMcId) {
        this.tMcId = tMcId;
    }
    
    public String getUnit() {
        return unit;
    }
    
    public void setUnit(String unit) {
        this.unit = unit;
    }
}